package cn.south.campus.admin.campus.service;

import cn.south.campus.admin.campus.model.entity.GoodsCategory;
import cn.south.campus.admin.campus.model.req.GoodsCategoryReq;
import cn.south.campus.admin.campus.model.vo.GoodsCategoryVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 二手商品分类表 服务类
 * </p>
 *
 * @author chow
 * @since 2024-11-13
 */
public interface GoodsCategoryService extends IService<GoodsCategory> {

    List<GoodsCategoryVo> tree(GoodsCategoryReq req);

    void add(GoodsCategoryVo vo);

    void delete(Long id);

    void updateCategory(GoodsCategoryVo vo);

    GoodsCategoryVo detail(Long id);

    void refresh();

}
